const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  user_state: state => state.user.user_state,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  roles: state => state.user.roles,
  pub_key: state => state.user.pub_key,
  acc_key: state => state.user.acc_key,
  reset_account: state => state.user.reset_account
  // expire_time: state => state.user.expire_time,
  // permission_routers: state => state.permission.routers,
  // addRouters: state => state.permission.addRouters
}
export default getters
